package com.whu.MenuHub.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whu.MenuHub.domain.FoodFlavor;
import com.whu.MenuHub.exception.MenuHubException;

import java.util.List;

public interface FoodFlavorService extends IService<FoodFlavor> {
    public FoodFlavor getfalvorByFoodID(Integer id);
    public FoodFlavor insertFoodFalvor(FoodFlavor foodFlavor) throws MenuHubException;

    public void updateFoodFlavor(FoodFlavor foodFlavor) throws MenuHubException;
    public void deleteFoodFlavorById(Integer id) throws MenuHubException;
    public List<FoodFlavor> getAllFoodFlavor() ;
}
